* {
    margin: 0;
    padding: 0;
}

a {
    color: #06ad3d;
    text-decoration: none;
}

a:hover {

}

ul {
    list-style: none;
}

body {
    font-size: 14px;
    font-family: -apple-system, "微软雅黑", Verdana, sans-serif, "宋体";
    line-height: 1.65;
    min-width: 1040px;
}

.clearfix:before,
.clearfix:after {
    content: '';
    display: table;
}

.clearfix:after {
    clear: both;
}

.layout {
    width: 1000px;
    margin: 0 auto;
}

.message {
    display: block;
    box-sizing: border-box;
    padding: 6px 12px;
    border-radius: 3px;
    color: #573a08;
    border: 1px solid #c9ba9b;
    background-color: #fffaf3;
}

.message h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #794b02;
}

/* header */
.header {
    display: block;
    padding: 20px 0;
    background: #f9f9f9;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.header .logo {
    display: block;
    float: left;
    width: 171px;
    height: 42px;
    background: url('https://static.oschina.net/new-osc/img/logo_osc_new.svg') no-repeat;
}

.header .title {
    display: block;
    float: left;
    margin-left: 14px;
    color: #06ad3d;
    font-size: 24px;
    font-weight: normal;
    line-height: 42px;
}

/* main */
.main {
    padding-top: 20px;
}

.main .user-info {
    text-align: center;
    margin-bottom: 20px;
}

.main .content {
}

/* main sidebar */
.main .content .sidebar {
    display: block;
    width: 278px;
    box-sizing: border-box;
    float: right;
}

.main .content .sidebar .explain {
    padding: 12px 16px;
}

.main .content .sidebar .explain .direction {
    margin-bottom: 14px;
}

/* main blog */
.blog {
    display: block;
    float: left;
    width: 704px;
}

/* main blog providers */
.blog-providers {
    overflow: hidden;
}

.blog-providers ul {
    display: block;
    overflow: hidden;
    margin: -8px;
}

.blog-providers li {
    float: left;
    display: block;
    margin: 8px;
    height: 48px;
    width: 128px;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(34,36,38,.15);
}

.blog-providers li img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-providers li img {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}

.blog-providers li.active {
    border: 1px solid #06ad3d;
}

.blog-providers li.active img {
    -webkit-filter: none;
    -moz-filter: none;
    -ms-filter: none;
    -o-filter: none;
    filter: none;
}

/* main blog input form */
.search-control {
    margin-top: 20px;
    font-size: 0;
}

.search-control input {
    outline: 0;
    -webkit-appearance: none;
    tap-highlight-color: rgba(255,255,255,0);
    -webkit-box-shadow: 0 0 0 0 transparent inset;
    box-shadow: 0 0 0 0 transparent inset;
    -webkit-transition: color .1s ease,border-color .1s ease;
    transition: color .1s ease,border-color .1s ease;

    width: 560px;
    padding: 10px 14px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 20px;

    background: #fff;
    border-radius: 3px;
    border: 1px solid rgba(34,36,38,.15);
    color: rgba(0,0,0,.87);
    margin-right: 16px;
}

.search-control input::-webkit-input-placeholder {
    color: rgba(191,191,191,.87);
}

.search-control a {
    display: inline-block;
    font-size: 16px;
    line-height: 22px;
    padding: 10px;
    color: #fff;
    height: 42px;
    box-sizing: border-box;
    border-radius: 3px;
    width: 60px;
    text-align: center;
    cursor: pointer;
}

.search-control .button {
    background-color: #5CC26F;
}

.search-control .button:hover {
    background-color: #40AA53;
}

.search-control .gray {
    background-color: #CCC;
}

.search-control .gray:hover {
    background-color: #BBB;
}

/* main blog article list */
.choose-all {
    display: none;
    margin-top: 20px;
    line-height: 36px;
    margin-bottom: 5px;
    width: 700px;
}

.blog-list.loading {
    background: url('../img/loading.gif') no-repeat;
    background-position: 200px 20px;
}

.blog-list {
    width: 700px;
}

.blog-list li {
    height: 36px;
    line-height: 36px;
    display: flex;
    flex-direction: row;
}

input[type='checkbox'] {
    width: 13px;
    height: 13px;
    line-height: 13px;
    margin-right: 2px;
    vertical-align: -2px;
    position: relative;
    top: -2px;
}

.blog-list label {
    color: #3B94CF;
    cursor: pointer;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    flex: 1;
}

.blog-list input[type='checkbox'] {
    flex-shrink: 0;
    vertical-align: 5px;
    position: relative;
    top: 0;
    margin-right: 8px;
}

.blog-list a {
    color: #3B94CF;
    width: 366px;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.blog-list li img.import_loading {
    display: none;
    width: 13px;
    height: 13px;
    line-height: 13px;
    margin: auto;
}

.blog-list li img.import_ok {
    display: none;
    width: 13px;
    height: 13px;
    line-height: 13px;
    margin: auto;
}

.blog-list li.loading img.import_loading {
    display: inline;
}

.blog-list li.imported img.import_ok {
    display: inline;
    position: relative;
    top: -8px;
}

.blog-list li.loading input, .blog-list li.imported input {
    display: none;
}


.blog-list input.imported {
    background-color: #F17725;
}

.article {
    width: 599px;
}

.article_title {
    height: 30px;
    line-height: 30px;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.select_type {
    float: right;
    flex-shrink: 0;
}

.select_box {
    white-space: nowrap;
    line-height: 36px;
    color: #999;
    border: 1px solid #999;
    font-size: 14px;
    padding: 3px 1px;
    cursor: pointer;
    width: 113px;
}

.person_select_box {
    white-space: nowrap;
    line-height: 36px;
    color: #999;
    border: 1px solid #999;
    font-size: 14px;
    padding: 3px 1px;
    cursor: pointer;
    width: 113px;
}

.private {
    white-space: nowrap;
    line-height: 36px;
    color: #999;
    border: 1px solid #999;
    font-size: 14px;
    padding: 3px 1px;
    cursor: pointer;
    width: 60px;
}

.reprint {
    white-space: nowrap;
    line-height: 36px;
    color: #999;
    border: 1px solid #999;
    font-size: 14px;
    padding: 3px 1px;
    cursor: pointer;
    width: 60px;
}

#topcontrol a {
    position: fixed;
    bottom: 165px;
    right: 100px;
    cursor: pointer;
    display: block;
    background: url('../img/gotop.gif') no-repeat;
}